<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="path.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="${basePath}css/default.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="${basePath}ui/easyui/themes/icon.css" />
<link rel="stylesheet" type="text/css" href="${basePath}ui/easyui/themes/bootstrap/easyui.css" />
<script type="text/javascript" src="${basePath}js/jquery.min.js"></script>
<script type="text/javascript" src="${basePath}ui/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${basePath}js/menuAndTab.js"> </script>
<title>autotools系统控制台</title>
</head>
<body class="easyui-layout">
<div region="north"  style="overflow: hidden; height: 30px;
		background:#d4d4d4;
        line-height: 20px; font-family: Verdana, 微软雅黑,黑体"> 
        <span style="float:right; padding-right:20px;" class="head">欢迎 ${sessionScope.user.userName} <a id="loginOut" href="${basePath}dologout.action">安全退出</a></span> 
        <span style="padding-left:10px; font-size: 16px; ">autotools系统控制台</span> </div>
<div data-options="region:'west',split:true" title='导航菜单' style="width:180px;" id="west">
      <div id="nav" class="easyui-accordion" fit="true" border="false"> </div>
    <!--  导航内容 --> 
  </div>
  <div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
      <div id="tabs" class="easyui-tabs"  fit="true" border="false" >
    <div title="欢迎使用" style="padding:20px;overflow:hidden; color:red; " >
          <h1 style="font-size:24px;">欢迎使用autotools控制台</h1>
        </div>
  </div>
    </div>
    <div id="mm" class="easyui-menu" style="width:150px;">
      <div id="mm-tabupdate">刷新</div>
      <div class="menu-sep"></div>
      <div id="mm-tabclose">关闭</div>
      <div id="mm-tabcloseall">全部关闭</div>
      <div id="mm-tabcloseother">除此之外全部关闭</div>
      <div class="menu-sep"></div>
      <div id="mm-tabcloseright">当前页右侧全部关闭</div>
      <div id="mm-tabcloseleft">当前页左侧全部关闭</div>
      <div class="menu-sep"></div>
      <div id="mm-exit">退出</div>
    </div>
    <script type="text/javascript">
    var _menus = {
            "menus":[
			           {"menuid":"1","icon":"icon-sys","menuname":"DP点管理",
				      "menus":[
						{"menuid":"11","menuname":"DP点总览","icon":"icon-page","url":"${basePath}dispatch?path=deviceType/dp"},
						{"menuid":"12","menuname":"设备列表总览","icon":"icon-page","url":"${basePath}dispatch?path=devicelist/dl"}
						
					    ]},
			{"menuid":"2","icon":"icon-sys","menuname":"预留",
				"menus":[{"menuid":"21","menuname":"预留","icon":"icon-nav","url":"menu2/tree2.html"},
						{"menuid":"22","menuname":"预留","icon":"icon-nav","url":"demo1.html"}
					]
			},{"menuid":"56","icon":"icon-sys","menuname":"预留",
				"menus":[{"menuid":"31","menuname":"预留","icon":"icon-nav","url":"demo1.html"},
						{"menuid":"32","menuname":"预留","icon":"icon-nav","url":"demo2.html"}
					]
			},{"menuid":"28","icon":"icon-sys","menuname":"预留",
				"menus":[{"menuid":"41","menuname":"预留","icon":"icon-nav","url":"demo.html"},
						{"menuid":"42","menuname":"预留","icon":"icon-nav","url":"demo1.html"},
						{"menuid":"43","menuname":"预留","icon":"icon-nav","url":"demo2.html"}
					]
			}
			
	]};
    
    </script>
</body>
</html>